//
//  ZPchaxunTableViewCell.m
//  HCNewGoldFinger
//
//  Created by 刘琛 on 2017/6/16.
//  Copyright © 2017年 zjhcsoftios. All rights reserved.
//

#import "ZPchaxunTableViewCell.h"

@implementation ZPchaxunTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(ZPchaxunModel *)model {
    _model = model;
    self.phone.text = [NSString stringWithFormat:@"主叫号码:%@", _model.callingnumber];
    self.time.text = [NSString stringWithFormat:@"外呼时间:%@", _model.begincalltime];
    if ([_model.isPass integerValue] > 0) {
        self.connected.text = @"是否接通:是";
    }else {
        self.connected.text = @"是否接通:否";
    }
}

@end
